<template>
    <div class="channelPopupContainer">
      <van-cell title="我的频道" :border="false">
        <van-button plain round slot="default">编辑</van-button>
      </van-cell>
      <van-grid :column-num="4" :gutter="19">
        <van-grid-item v-for="value in 3" icon="close" :key="value" text="文字" class="channelItem"/>
      </van-grid>
      <van-cell title="频道推荐" :border="false">
      </van-cell>
      <van-grid :column-num="4" :gutter="19" class="tuijian">
        <van-grid-item v-for="value in 8" icon="plus" :key="value" text="文字" class="channelItem"/>
      </van-grid>
    </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },

  created () {

  },

  methods: {

  }
}
</script>

<style scoped lang='less'>
.channelPopupContainer {
  padding-top: 100px;
  .van-cell {
    .van-button {
      width: 123px;
      height: 50px;
      line-height: 50px;
      font-size: 30px;
      word-break:keep-all;     /* 不换行 */
      white-space:nowrap;      /* 不换行 */
    }
  }
  /deep/.channelItem {
    width: 160px;
    height: 86px;
    .van-grid-item__content {
      background-color: #F4F5F6;
      border-radius: 6px;
      .van-grid-item__text {
        font-size: 28px;
      }
      .van-icon-close {
        font-size: 36px;
        position: absolute;
        top: -18px;
        right: -18px;
      }
    }
  }
  /deep/.tuijian {
    .van-grid-item__content {
      flex-direction: row;
      .van-icon {
        font-size: 24px;
      }
      .van-grid-item__text {
        margin-top: 0;
      }
    }
  }
}
</style>
